package com.atzon.model;

import com.atzon.annotation.FieldAnnotation;
import com.atzon.annotation.TableAnnotation;

@TableAnnotation("con_join")
public class ConJoin {
    /**
     * id
     */
    @FieldAnnotation("id")
    private Integer id;

    /**
     * 需参加人id
     */
    @FieldAnnotation("u_id")
    private Integer uId;

    /**
     * 会议id
     */
    @FieldAnnotation("c_id")
    private Integer cId;

    /**
     * 状态: 0:未参加 1:已参加
     */
    @FieldAnnotation("status")
    private Integer status;

    public ConJoin() {
    }

    public ConJoin(Integer id, Integer uId, Integer cId, Integer status) {
        this.id = id;
        this.uId = uId;
        this.cId = cId;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "ConJoin{" +
                "id=" + id +
                ", uId=" + uId +
                ", cId=" + cId +
                ", status=" + status +
                '}';
    }
}
